package name.fowler.refactoring.simplestore.domain.pricecode;

import javax.persistence.Entity;

import name.fowler.refactoring.simplestore.Calculator;

@Entity
public class PriceCodeRegular extends PriceCode {
	
	public PriceCodeRegular()
	{
		name = "REGULAR";
	}
	@Override
	public void accept(Calculator visitor) {
		visitor.calculateWhenPriceCodeRegular();
	}

}
